#ifndef TILE_H
#define TILE_H

class Tile
{
public:
    Tile();
    Tile(int value);
    
    int getValue() const { return value; }
    void setValue(int value) { this->value = value; }
    void merge(Tile &other);
    bool isEmpty() const { return value == 0; }

private:
    int value;
};

#endif // TILE_H